<template>
  <div id="search">
    <div class="find">
      <div>
        <i class="fa fa-search"></i>
        <input type="text" />
      </div>
    </div>
    <div class="title"><span>电影/电视剧/综艺</span></div>
    <div class="content">
      <div><img src="/images/001.png" alt="" /></div>
      <div class="second">
        <p>机械师2</p>
        <p>喜剧，剧情，犯罪</p>
        <p>2020-6-30</p>
      </div>
      <div class="score">8.9</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Search",
};
</script>

<style scoped>
#search {
  padding-bottom: 50px;
}
.find {
  height: 50px;
  background: rgb(238, 238, 238);
  display: flex;
  justify-content: center;
  align-items: center;
}
.find div {
  width: 90%;
  height: 30px;
  margin: auto;
  line-height: 28px;
  border-radius: 10px;
  border: 1px solid rgb(227, 227, 227);
  background: white;
}
.find input {
  border: 0;
  width: 90%;
  height: 25px;
  margin-left: 5px;
}
.title {
  width: 100%;
  height: 50px;
  line-height: 25px;
  border-bottom: 2px solid rgb(194, 194, 194);
}
.title span {
  width: 90%;
  display: inline-block;
  margin: 15px;
  color: rgb(147, 147, 147);
  font-size: 20px;
  font-weight: bold;
}
.content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px rgb(194, 194, 194) dashed;
}

.content div img {
  width: 80px;
  margin: 15px;
}
.second {
  width: 70%;
  font-weight: bold;
}
.second p {
  margin: 10px;
}
.second p:nth-child(1) {
  font-size: 25px;
}
.score {
  float: right;
  margin: 15px;
  color: #e54847;
  font-size: 25px;
  position: relative;
  top: -30px;
}
</style>